<!-- modal template -->
<div class="modal-header">
    <h4 class="modal-title" id="myModalLabel">{{i18n.user_search_title}}</h4>
</div>
<form class="form-horizontal" novalidate="novalidate">
    <div class="modal-body">
        <div class="row" style="padding:0;">
            <div class="col-md-12">
                <!--      <div class="form-group">


                        </div>
                   <div class="hr-line-dotted"></div> -->
                <div class="form-group">

                    <label class="col-md-2 control-label">{{i18n.user_userAccount}}</label>

                    <div class="col-md-4 has-feedback">
                        <input type="text" name="userAccount" class="input-sm form-control" required
                               ng-model="userSearch.userAccount" ng-required="true"/>
                    </div>

                    <label class="col-md-2 control-label">{{i18n.user_userName}}</label>

                    <div class="col-md-4 has-feedback">
                        <input type="text" name="userRealName" class="input-sm form-control"
                               ng-model="userSearch.userRealName" ng-required="true"/>
                    </div>

                </div>
                <div class="hr-line-dotted"></div>
                <div class="form-group">
                    <!--        <label class="col-md-2 control-label">机构</label>
                           <div class="col-md-4 has-feedback">
                                 <input type="text" name="userOrgId" class="input-sm form-control" ng-model="userSearch.userOrgId" ng-required="true" />
                           </div> -->
                    <label class="col-md-2 control-label">{{i18n.user_userEnable}}</label>

                    <div class="col-md-4 has-feedback">
                        <label class="radio-inline">
                            <input name="userEnable" type="radio" value="1" ng-model="userSearch.userEnable" ng-checked="true"
                                   required>
                              {{i18n.status_enable}}
                        </label>
                        <label class="radio-inline">
                            <input name="userEnable" type="radio" value="0" ng-model="userSearch.userEnable">
                            {{i18n.status_unable}}
                        </label>
                    </div>

                  <!--   <label class="col-md-2 control-label">{{i18n.user_userGender}}</label>

                    <div class="col-md-4 has-feedback">
                        <label class="radio-inline">
                            <input name="userGender" type="radio" value="男" ng-model="userSearch.userGender" ng-checked="true"
                                   required>
                            男
                        </label>
                        <label class="radio-inline">
                            <input name="userGender" type="radio" value="女" ng-model="userSearch.userGender">
                            女
                        </label>
                    </div> -->

                </div>
            </div>
        </div>
    </div>
    <div class="modal-footer">
        <button type="button" class="btn btn-default" ng-click="cancel()">{{i18n.btn_cancel}}</button>
        <button type="submit" class="btn btn-primary" ng-click="search()">{{i18n.btn_ok}}</button>
    </div>
</form>
